<template>
    <span class="iconfont" :class="iconClass"></span>
</template>

<script setup lang='ts'>
import '@/assets/iconFont/iconfont.css'
const {iconClass} = defineProps({
    iconClass:String,
    width:String,
    height:String
})
console.log(iconClass);

</script>
<style lang='scss' scoped>
.iconfont {
  font-family: "iconfont" !important;
  font-size: 1.5em;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  &:hover{
    color: rgb(15, 7, 248);
  }
}
</style>